package com.hcf.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hcf.project.common.convention.result.Result;
import com.hcf.project.dto.req.RecycleBinPageReqDTO;
import com.hcf.project.dto.req.RecycleBinRecoverReqDTO;
import com.hcf.project.dto.req.RecycleBinRemoveReqDTO;
import com.hcf.project.dto.req.RecycleBinSaveReqDto;
import com.hcf.project.dto.resp.ShortLinkPageRespDTO;

public interface RecycleBinService {

    /**
     * 回收站新增方法
     */
    Result<Void> saveRecycleBin(RecycleBinSaveReqDto requestParam);


    /**
     * 分页查询回收站数据
     *
     * @param requestParam
     * @return
     */
    IPage<ShortLinkPageRespDTO> pageShortLink(RecycleBinPageReqDTO requestParam);

    /**
     * 恢复短链接
     * @param requestParam
     */
    void recoverShortLink(RecycleBinRecoverReqDTO requestParam);

    void removeShortLink(RecycleBinRemoveReqDTO requestParam);
}
